<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="my-layer" style="display: none; padding: 20px">
    <form class="layui-form" action="registered" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">用户名:</label>
            <div class="layui-input-inline">
                <input
                        type="text"
                        name="username"
                        lay-verify="required"
                        lay-reqtext="用户名不可以为空"
                        placeholder="请输入用户名"
                        autocomplete="off"
                        class="layui-input"
                />
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">密码:</label>
            <div class="layui-input-block">
                <input
                        type="password"
                        name="password"
                        id = "password"
                        lay-verify="required"
                        lay-reqtext="密码不可以为空"
                        placeholder="请输入密码"
                        autocomplete="off"
                        class="layui-input"
                />
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">确认密码:</label>
            <div class="layui-input-block">
                <input
                        type="password"
                        name="password"
                        id = "password-verify"
                        lay-verify="required"
                        placeholder="再次确认密码"
                        onkeyup="validate()"
                        autocomplete="off"
                        class="layui-input"
                /><span id="tishi"></span>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button
                        type="submit"
                        id = "button"
                        class="layui-btn layui-btn-disabled"
                        lay-submit=""
                >
                    注册
                </button>
                <button type="reset" class="layui-btn layui-btn-danger">
                    重置
                </button>
            </div>
        </div>
    </form>
</div>

